package com.gitee.neuray.security.par.basicData.entity;

import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * 代码生成
 *
 * @author dev
 * @email ${email}
 * @date 2020-08-21 17:18:13
 */
@Data
@Table(name = "PAR_BASIC_DATA")
public class ParBasicDataEntity extends BaseEntity {


	/**
	 * 父ID
	 */
	@Column(name = "PARENT_ID")
	private String parentId;

	@Transient
	private String parentName;
	
	/**
	 * 层级
	 */
	@Column(name = "PAR_LEVEL")
	private Integer parLevel;
	
	/**
	 * 名称
	 */
	@Column(name = "NAME")
	private String name;
	
	/**
	 * 序号
	 */
	@Column(name = "XH")
	private Integer xh;
	
	/**
	 * 考评大类，1：基础性工作，2：指令性工作，3：综合评定
	 */
	@Column(name = "KPDL")
	private String kpdl;
	
	/**
	 * 考评分数
	 */
	@Column(name = "KPFS")
	private Integer kpfs;
	
	/**
	 * 考评点
	 */
	@Column(name = "KPD")
	private String kpd;
	
	/**
	 * 考评标准
	 */
	@Column(name = "KPBZ")
	private String kpbz;

	/**
	 * 单位类型，1：机关，2：层级单位
	 */
	@Column(name = "DWLX")
	private String dwlx;

	@Column(name = "DEPT_CODE")
	private String deptCode;
	
}
